home *** CD-ROM | disk | FTP | other *** search
/ No Fragments Archive 12: Textmags & Docs / nf_archive_12.iso / MAGS / SOURCES / ATARI_SRC.ZIP / atari source / FALCON / CPX / MODEM.TC / MODEM2.H < prev    next >
Encoding:
C/C++ Source or Header  |  2001-02-10  |  1.1 KB  |  46 lines

  1. /* MODEM2.H
  2.  *==========================================================================
  3.  * Prototypes, defines and externs for modem.c
  4.  */
  5.  
  6. /* DEFINES
  7.  *==========================================================================
  8.  */
  9.  
  10.  
  11. #define PORT_A        0
  12. #define PORT_B        1
  13. #define PORT_C        2
  14. #define PORT_D        3
  15.  
  16. #define MASK_A        6
  17. #define MASK_B        7
  18. #define MASK_C        8
  19. #define MASK_D        9
  20.  
  21.  
  22. /* PROTOTYPES
  23.  *==========================================================================
  24.  */
  25. BOOLEAN  Check_OS( void );
  26. int     Set_Active_Port( int port );
  27.  
  28. /* EXTERNS
  29.  *==========================================================================
  30.  */
  31. extern MDEFAULT Modem;
  32. extern int     old_port;
  33. extern int     cur_port;    /* Current Serial Port  - NUM_PORTS
  34.                  * 0, 1, 2, 3
  35.                  * There is only ONE port on regular STs.
  36.                  * The other ports are for the TT.
  37.                  */
  38.                  
  39. extern BUFFER  *store;        /* Need to store baud rate and flow cntrl
  40.                  * in the 64 byte buffer. There is no other
  41.                  * way to get these 2 numbers since they
  42.                  * are write only items. The UCR data 
  43.                  * can be had from RSCONF
  44.                  */
  45.  
  46.